Carbon


DeskHookProcPtr

Header: MacWindows.h Carbon status: Unsupported

typedef void(* DeskHookProcPtr) (
    Boolean mouseClick, 
    EventRecord *theEvent
);

You would declare your function like this if you were to name it MyDeskHookCallback:

void MyDeskHookCallback (
    Boolean mouseClick, 
    EventRecord *theEvent
);
CARBON NOTES

You cannot access the DeskHook global variable in Carbon. Therefore, Carbon does not support application-defined functions for drawing the desktop.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)